package com.huawei.studentmanagementsystem;

/**
 * @description:
 * @author: lhh
 * @time: 2022/6/7
 */

public class Student {
    //学号
    private String id;
    //姓名
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    //年龄
    private String age;
    //居住地
    private String address;



}
//自定义对象实体类所包括的属性，我们在用时需要重写get（）、set（）以及构造方法。